package cn.fyg.service.finance.domain.deposit;

import lombok.Data;

@Data
public class DepositdetailDto {
	private String description;
	private String isInvoiceAmount;
	private String amount;
	private String date;
	private String label;
	
	public String getLabel() {
		if (this.isInvoiceAmount.equals("false")) {
			label = "已收: ";
		}else{
			label = "结算: ";
		}
		return label;
	}
	
	public String getAmount() {
		return this.amount + " 元";
	}
}
